﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	x:Class="PriceCuttingWar.UIEndMessageBox"
	d:DesignWidth="480" d:DesignHeight="705" Width="480" Height="768">

	<UserControl.Resources>
		<Storyboard x:Name="Ani_SHow">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GInterface" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="00:00:00.5000000" Value="1">
					<EasingDoubleKeyFrame.EasingFunction>
						<BackEase EasingMode="EaseOut" Amplitude="1"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GInterface" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="00:00:00.5000000" Value="1">
					<EasingDoubleKeyFrame.EasingFunction>
						<BackEase EasingMode="EaseOut" Amplitude="1"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Name="Ani_Hide">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GInterface" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="00:00:01" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<BackEase EasingMode="EaseInOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GInterface" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="00:00:01" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<BackEase EasingMode="EaseInOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</UserControl.Resources>

	<Grid x:Name="LayoutRoot">
		<Grid.Background>
			<SolidColorBrush Color="#33000000"/>
		</Grid.Background>
		<Grid x:Name="GInterface" Margin="8,200,8,111" RenderTransformOrigin="0.5,0.5">
			<Grid.RenderTransform>
				<TransformGroup>
					<ScaleTransform/>
					<SkewTransform/>
					<RotateTransform/>
					<TranslateTransform/>
				</TransformGroup>
			</Grid.RenderTransform>
			<Rectangle Fill="White" Stroke="Black" StrokeThickness="12" RadiusX="19.5" RadiusY="19.5"/>
			<Rectangle Fill="White" Stroke="#FFFFCB58" StrokeThickness="2" RadiusX="19.5" RadiusY="19.5" Margin="34,30,34,28"/>
			<TextBlock x:Name="ScoreSum" FontFamily="Comic Sans MS" FontSize="56" FontWeight="Bold" Text="9999" TextAlignment="Center" TextWrapping="Wrap" Foreground="#FF007B97" Margin="34,97,34,0" Height="72" VerticalAlignment="Top"/>
			<TextBlock FontFamily="Comic Sans MS" FontSize="48" FontWeight="Bold" TextAlignment="Center" TextWrapping="Wrap" Foreground="#FF007B97" Margin="57,40,125,0" Height="72" VerticalAlignment="Top"><Run Text="You"/><Run Text=" "/><Run Text="Score:"/></TextBlock>
			<Grid x:Name="Btn_PlayAgin" Cursor="Hand" Height="52" Margin="114,0,113,39" VerticalAlignment="Bottom">
				<Rectangle Fill="White" Stroke="Black" StrokeThickness="4" RadiusX="9" RadiusY="9"/>
				<Path Fill="Black" Stretch="Fill" Margin="38.135,7.085,36.979,4.951" RenderTransformOrigin="0.5,0.5" UseLayoutRounding="False" Data="M52.823109,21.460213 L52.823109,23.595657 L57.797127,23.595657 L57.797127,21.460213 z M44.33342,21.460213 L44.33342,23.595657 L49.281395,23.595657 L49.281395,21.460213 z M52.823109,16.355984 L52.823109,18.491425 L57.797127,18.491425 L57.797127,16.355984 z M44.33342,16.355984 L44.33342,18.491425 L49.281395,18.491425 L49.281395,16.355984 z M38.760433,8.3871326 L63.34407,8.3871326 L63.34407,11.512173 L52.823109,11.512173 L52.823109,13.283028 L61.338837,13.283028 L61.338837,23.595657 L63.916996,23.595657 L63.916996,26.720695 L61.338837,26.720695 L61.338837,28.595718 C61.338837,29.194683 61.277531,29.725832 61.154919,30.189163 C61.032303,30.652493 60.848381,31.048006 60.603153,31.375702 C60.357925,31.703396 60.067665,31.964359 59.732372,32.158588 C59.397083,32.352818 59.016762,32.480316 58.591408,32.54108 C58.166054,32.601845 57.529114,32.644165 56.680576,32.668034 C55.832043,32.691906 54.771915,32.697334 53.500198,32.684311 C53.326584,31.416935 53.100887,30.271088 52.823109,29.246769 C53.539261,29.290173 54.165356,29.322723 54.701385,29.344425 C55.237415,29.366127 55.683384,29.376978 56.039291,29.376978 C56.442944,29.376978 56.768471,29.335201 57.015869,29.25165 C57.263268,29.168098 57.432541,29.042772 57.523689,28.875669 C57.705978,28.541464 57.797127,28.170366 57.797127,27.762375 L57.797127,26.720695 L44.33342,26.720695 L44.33342,32.814522 L40.791706,32.814522 L40.791706,26.720695 L38.135426,26.720695 L38.135426,23.595657 L40.791706,23.595657 L40.791706,13.283028 L49.281395,13.283028 L49.281395,11.512173 L38.760433,11.512173 z M79.489777,13.491364 L79.489777,18.908096 L83.656494,18.908096 L81.33876,16.954948 C82.415161,15.947991 83.478539,14.793463 84.5289,13.491364 z M70.713623,13.491364 C71.729263,14.533043 72.7883,15.713614 73.890747,17.033073 L71.36467,18.908096 L75.713684,18.908096 L75.713684,13.491364 z M75.713684,7.2412853 L79.489777,7.2412853 L79.489777,10.105904 L88.864891,10.105904 L88.864891,13.491364 L84.633072,13.491364 L87.224243,15.41847 C86.069717,16.83342 84.997658,17.996628 84.008057,18.908096 L90.219078,18.908096 L90.219078,22.267515 L81.664284,22.267515 C82.870895,23.50885 84.206635,24.602613 85.671494,25.548805 C87.136353,26.494999 88.730347,27.293619 90.453453,27.94467 C89.672195,28.968987 88.899612,30.062752 88.135719,31.22596 C86.295418,30.223343 84.65477,29.130665 83.213783,27.947924 C81.772789,26.765182 80.531456,25.492382 79.489777,24.129517 L79.489777,32.762436 L75.713684,32.762436 L75.713684,24.15556 C74.641624,25.548805 73.385101,26.847651 71.944107,28.052094 C70.50312,29.256535 68.877663,30.366573 67.067741,31.382212 C66.269127,30.236364 65.505226,29.203365 64.776047,28.283215 C66.468781,27.549698 68.033463,26.681633 69.470116,25.679016 C70.906769,24.676399 72.215378,23.539232 73.39595,22.267515 L65.218765,22.267515 L65.218765,18.908096 L71.039146,18.908096 C70.696259,18.435001 70.280678,17.898972 69.792389,17.300005 C69.3041,16.701038 68.743118,16.039139 68.109428,15.314302 L70.531326,13.491364 L66.468781,13.491364 L66.468781,10.105904 L75.713684,10.105904 z M91.781258,18.074753 L116.93782,18.074753 L116.93782,21.928968 L91.781258,21.928968 z M122.45839,18.335175 C123.67368,18.960182 124.86294,19.524426 126.02615,20.027905 C125.32301,21.685911 124.60252,23.430725 123.86465,25.262344 C123.1268,27.093964 122.37158,29.01239 121.59901,31.017624 L118.03125,29.324894 C118.81252,27.666887 119.57207,25.922073 120.30993,24.090454 C121.04778,22.258835 121.76393,20.340408 122.45839,18.335175 z M132.35434,15.522638 L135.79189,15.522638 C135.74849,16.642445 135.64865,17.718845 135.4924,18.751846 C135.94814,20.103859 136.46762,21.334343 137.05086,22.443298 C137.63409,23.552252 138.28107,24.539679 138.99181,25.405575 C139.70253,26.271471 140.47701,27.015837 141.31523,27.638676 C142.15346,28.261513 143.05544,28.762821 144.02116,29.142601 C143.25726,30.132196 142.52809,31.304087 141.83363,32.658268 C140.99161,32.15913 140.20193,31.594345 139.46463,30.963911 C138.72731,30.333479 138.04234,29.637398 137.40974,28.875669 C136.77715,28.113941 136.1969,27.286566 135.66901,26.393543 C135.14111,25.500519 134.66557,24.541849 134.24239,23.51753 C133.85609,24.509296 133.39738,25.451691 132.86624,26.344715 C132.33508,27.237738 131.73151,28.08139 131.05551,28.875669 C130.3795,29.66995 129.63106,30.41486 128.8102,31.110399 C127.98933,31.805937 127.09604,32.452103 126.13031,33.048901 C125.27961,31.798883 124.40286,30.731161 123.50007,29.845734 C124.93672,29.133919 126.19867,28.301661 127.28593,27.348957 C128.37318,26.396255 129.28574,25.323109 130.02359,24.129517 C130.76144,22.935926 131.3246,21.621891 131.71306,20.18741 C132.10152,18.75293 132.31528,17.198006 132.35434,15.522638 z M121.18233,8.1006718 C122.72749,10.010418 124.15112,11.87676 125.45322,13.699699 L122.17193,16.043478 C121.02608,14.046926 119.7153,12.041693 118.23959,10.027779 z M129.56786,7.0850334 L133.10956,7.6058731 C132.79706,8.6909561 132.45418,9.7499962 132.0809,10.782995 L143.34407,10.782995 L143.34407,13.803867 L141.26071,18.673719 L137.82317,17.996628 L139.69818,13.986161 L130.80486,13.986161 C130.05832,15.696252 129.22063,17.319536 128.29179,18.856014 C127.07651,18.16156 125.89594,17.553913 124.75008,17.033073 C125.75704,15.513958 126.662,13.925396 127.46496,12.267389 C128.26793,10.609383 128.96889,8.8819304 129.56786,7.0850334 z" Visibility="Collapsed">
					<Path.RenderTransform>
						<TransformGroup>
							<ScaleTransform/>
							<SkewTransform/>
							<RotateTransform/>
							<TranslateTransform/>
						</TransformGroup>
					</Path.RenderTransform>
				</Path>
				<TextBlock Margin="30,0,22,5" TextWrapping="Wrap" Foreground="Black" Text="Play Again" TextAlignment="Center" FontSize="32" FontFamily="Comic Sans MS"/>
			</Grid>
			<TextBlock FontFamily="Comic Sans MS" FontSize="29.333" FontWeight="Bold" TextWrapping="Wrap" Foreground="#FF976100" Margin="34,171,34,122"><Run Text="The Mode "/><Run Text="High"/><Run Text="est"/><Run Text=" Score"/><Run Text=":"/></TextBlock>
			<TextBlock x:Name="HighScore" FontFamily="Comic Sans MS" FontSize="29.333" FontWeight="Bold" TextWrapping="Wrap" Foreground="#FF976100" Margin="33,0,35,129" TextAlignment="Center" Text="9999" Height="50" VerticalAlignment="Bottom"/>
		</Grid>
	</Grid>
</UserControl>